
import request from '@/utils/request';

export function listData(query) {
  return request({
    url: `/sociaty/rate/list${query}`,
    method: 'get',
  });
}

export function saveData(form) {
  return request({
    url: '/sociaty/rate/add',
    method: 'post',
    data: form
  });
}

export function updateData(form) {
  return request({
    url: '/sociaty/rate/edit',
    method: 'post',
    data: form
  });
}

export function deleteData(query) {
  return request({
    url: '/sociaty/rate/delete',
    method: 'post',
    data: query
  });
}
